package com.bawei.navigationdemo

import android.os.Bundle
import androidx.fragment.app.Fragment
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.Toast


class TwoFragment : Fragment() {


    override fun onCreateView(
        inflater: LayoutInflater, container: ViewGroup?,
        savedInstanceState: Bundle?,
    ): View? {
        val string = arguments?.getString("params")
        Toast.makeText(context,string+"",Toast.LENGTH_SHORT).show()
        return inflater.inflate(R.layout.fragment_two, container, false)
    }

}